// 基于template/src/widgets/{{appEntities}}/{{ctrls@DATAVIEW}}-data-view/{{spinalCase ctrl.codeName}}-data-view-vo.ts.hbs生成
import { ControlVOBase } from '@/core';

export class DataviewControlVO extends ControlVOBase {
	constructor(data: any) {
		super(data);
		//  数据视图自持属性
		this.$ownKeys = ['srfkey', 'srfmajortext'];
	}
	get srfkey() {
		return this.$DO.id;
	}
	set srfkey(value: any) {
		this.$DO.id = value;
	}
	get srfmajortext() {
		return this.$DO.name;
	}
	set srfmajortext(value: any) {
		this.$DO.name = value;
	}
	set auth_provider(value: any) {
		this.$DO.id = value;
	}
	get auth_provider() {
		return this.$DO.id;
	}
}
